<?php
	$email_to = "info@limassolbeachmotors.com";
	$email_subject = "Request More Info";
	$email_body ="
	First Name: ".$_REQUEST["n_fname"]." \n
	Last Name: ".$_REQUEST["n_lname"]."  \n
	Phone: ".$_REQUEST["n_phone"]." \n
	Message: ".$_REQUEST["n_ta"]." \n
	State: ".$_REQUEST["state"]." \n 
	City: ".$_REQUEST["city"]." \n
	Stock Number: ".$_REQUEST["hiden"]." \n";
	
	$header="From:	".$_REQUEST["n_eadd"]." ";
	if(mail($email_to, $email_subject, $email_body,$header))
		{?>
			<script type="text/javascript">
				window.location="blankpage.php";
			</script>
		<?php
		} 
		else 
		{?>
			<script type="text/javascript">
				window.location="blankPage2.php";
			</script>
		<?php }

?>